package com.fjc.service;

import com.fjc.domain.Permission;
import com.fjc.domain.Role;
import com.fjc.domain.User;

import java.util.Set;

/**
 * Created by fjc on 2018/9/24.
 */
public interface UserService {
    public User findUserByUsername(String username);
    public Set<Role> findUserRoleByUsername(String username);
    public Set<Permission> findRolePermissionByRole(Set<Role> roles);
}
